package com.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.st.entity.Result;
import com.st.entity.User;
import com.st.entity.UserDto;
import org.springframework.web.bind.annotation.RequestBody;

public interface IRegisterService extends IService<User> {
    //获取图形验证码
    public Result pigCode();
    //发送手机验证码
    public Result sendMsgCode(String phone);
    //用户注册
    public Result register(UserDto userDto);
}
